package cn.wht;

import java.io.File;

import cn.wht.batch.BatchTask;
import cn.wht.deal.MyDealTask;

/**
 * Hello world!
 */
public class App {

    public static void main(String[] args) {

        File file = new File("src/test.txt");
        MyDealTask myDealTask = new MyDealTask();
        BatchTask batchTask = new BatchTask(myDealTask);
        batchTask.doBatch(file);
    }
}
